<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		onLoad(options) {
			console.log(options)
			if (options.index == 0) {
				uni.setNavigationBarTitle({
					title: '修改标题1'
				});
			} else if (options.index == 1) {
				uni.setNavigationBarTitle({
					title: '修改标题2'
				});
			} else if (options.index == 2) {
				uni.setNavigationBarTitle({
					title: '修改标题3'
				});
			}
		}
	}
</script>

<style lang='scss'>
	@import "@/uni_modules/uview-ui/index.scss";
	/*每个页面公共css */
	body{
		font-size: 28rpx;
		color: #333;
		font-family: Helvetica Neue,Helvetica,sans-serif;
		background-color: #F5f5f5;
		/* background-color: #f5f5f5; */
	}
	view{
		box-sizing: border-box;
	}
	*{
		margin: 0;
		-webkit-tap-highlight-color: transparent;
	}
	.flexs {
	    display: flex;
	    justify-content: center;
	    align-items: center;
	}
	.flexs1 {
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}
	.flexs2 {
	    display: flex;
	    justify-content: space-between;
	    align-items: center;
	}
	.flexs3 {
	    display: flex;
	    justify-content: space-around;
	    align-items: center;
	}
	.flexs11 {
	    display: flex;
	    justify-content: flex-start;
	}
	.flexs12 {
	    display: flex;
	    justify-content: space-between;
	}
	::-webkit-scrollbar{
		display: none;
	}
	.content{
		width: 100vw;
		height: 100%;
		overflow: hidden;
		background-color: #f5f5f5;
	}
	
	.cu-modal {
	    position: fixed;
	    top: 0;
	    right: 0;
	    bottom: 0;
	    left: 0;
	    z-index: 1110;
	    opacity: 0;
	    outline: 0;
	    text-align: center;
	    transform: scale(1.185);
	    backface-visibility: hidden;
	    perspective: 1000px;
	    background: rgba(0,0,0,.6);
	    transition: all .3s ease-in-out 0s;
	    pointer-events: none;
	}
	.cu-modal::before {
	    content: "\200B";
	    display: inline-block;
	    height: 100%;
	    vertical-align: middle;
	}
	.cu-modal.show {
	    opacity: 1;
	    transition-duration: .3s;
	    transform: scale(1);
	    overflow-x: hidden;
	    overflow-y: auto;
	    pointer-events: auto;
	}
</style>
